package com.laboratory.service;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotBlank;

public interface OrderService {

    String placeOrder(
            @NotBlank(message = "订单ID不能为空") String orderId,
            @Min(value = 1, message = "商品数量不能小于1") int quantity
    );

}
